var rootView = ui("$");
var openHelper = require("helper/open");
rootView.setMapping({
	"labelIndex.text":"indexText",
	"numbg.source":"numbgSource",
	"numbg.visible":"numbgVisible",
	"labelIndex.fontSize":"indexFontSize",
	"labelIndex.fontColor":"indexFontColor",
	"imgfullLogo.source" : "fullLogo",
	"imgfullLogo.tag":"id",
	"name.text" : "nick",
    "honorValue.text" : "honorValue",
    "honorLevel.bgColor":"honorLevelBg",
	"honorLevel.text":"honorLevelName"
});

ui("mainHead").on("touch","", 300,function(){
	var userId = ui("imgfullLogo").tag;//用户id
	if(userId!=null){
		openHelper.openPersonal(userId);//到他的主页
	}
})